﻿using System.Windows;
using Matchingo.Common.Types.Enumerations;

namespace Matchingo.Common.Types.Interfaces
{
    /// <summary>
    /// Defines a factory which can provide UIElements representing a particle based on requested parameters
    /// </summary>
    public interface IParticleControlFactory
    {
        /// <summary>
        /// Gets a UIElement representing a particle based on the requested options
        /// </summary>
        /// <param name="type">What type of particle is being requested</param>
        /// <param name="matchCount">How many matches have occurred in the game (factored into which particle is chosen)</param>
        /// <returns>A UIElement representing a particle</returns>
        UIElement GetParticleInstance(ParticleTypeEnumeration.ParticleType type, int matchCount);
    }
}
